package cn.gcjxsc.repository.merchant;

import cn.gcjxsc.entity.merchant.StoreSetting;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface StoreSettingRepository extends JpaRepository<StoreSetting, Integer> {

    List<StoreSetting> findByStoreId(Integer storeId);

    StoreSetting findByStoreIdAndName(Integer storeId, String name);
}
